3.3.1 \(\int x^{2-n p q} (a (b x^n)^p)^q \, dx\) [201]

Optimal. Leaf size=24 \[ \frac {1}{3} x^{3-n p q} \left (a \left (b x^n\right )^p\right )^q \]

[Out]

1/3*x^(-n*p*q+3)*(a*(b*x^n)^p)^q

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {1971, 30} \begin {gather*} \frac {1}{3} x^{3-n p q} \left (a \left (b x^n\right )^p\right )^q \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^(2 - n*p*q)*(a*(b*x^n)^p)^q,x]

[Out]

(x^(3 - n*p*q)*(a*(b*x^n)^p)^q)/3

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 1971

Int[(u_.)*((c_.)*((d_.)*((a_.) + (b_.)*(x_))^(n_))^(q_))^(p_), x_Symbol] :> Dist[(c*(d*(a + b*x)^n)^q)^p/(a +
b*x)^(n*p*q), Int[u*(a + b*x)^(n*p*q), x], x] /; FreeQ[{a, b, c, d, n, q, p}, x] &&  !IntegerQ[q] &&  !Integer
Q[p]

Rubi steps

\begin {align*} \int x^{2-n p q} \left (a \left (b x^n\right )^p\right )^q \, dx &=\left (x^{-n p q} \left (a \left (b x^n\right )^p\right )^q\right ) \int x^2 \, dx\\ &=\frac {1}{3} x^{3-n p q} \left (a \left (b x^n\right )^p\right )^q\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 24, normalized size = 1.00 \begin {gather*} \frac {1}{3} x^{3-n p q} \left (a \left (b x^n\right )^p\right )^q \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^(2 - n*p*q)*(a*(b*x^n)^p)^q,x]

[Out]

(x^(3 - n*p*q)*(a*(b*x^n)^p)^q)/3

________________________________________________________________________________________

Maple [A]
time = 0.18, size = 23, normalized size = 0.96

method result size
gosper \(\frac {x^{-n p q +3} \left (a \left (b \,x^{n}\right )^{p}\right )^{q}}{3}\) \(23\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(-n*p*q+2)*(a*(b*x^n)^p)^q,x,method=_RETURNVERBOSE)

[Out]

1/3*x^(-n*p*q+3)*(a*(b*x^n)^p)^q

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-n*p*q+2)*(a*(b*x^n)^p)^q,x, algorithm="maxima")

[Out]

integrate(((b*x^n)^p*a)^q*x^(-n*p*q + 2), x)

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 16, normalized size = 0.67 \begin {gather*} \frac {1}{3} \, x^{3} e^{\left (p q \log \left (b\right ) + q \log \left (a\right )\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-n*p*q+2)*(a*(b*x^n)^p)^q,x, algorithm="fricas")

[Out]

1/3*x^3*e^(p*q*log(b) + q*log(a))

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{- n p q + 2} \left (a \left (b x^{n}\right )^{p}\right )^{q}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-n*p*q+2)*(a*(b*x**n)**p)**q,x)

[Out]

Integral(x**(-n*p*q + 2)*(a*(b*x**n)**p)**q, x)

________________________________________________________________________________________

Giac [A]
time = 2.10, size = 18, normalized size = 0.75 \begin {gather*} \frac {1}{3} \, x e^{\left (p q \log \left (b\right ) + q \log \left (a\right ) + 2 \, \log \left (x\right )\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-n*p*q+2)*(a*(b*x^n)^p)^q,x, algorithm="giac")

[Out]

1/3*x*e^(p*q*log(b) + q*log(a) + 2*log(x))

________________________________________________________________________________________

Mupad [B]
time = 1.02, size = 22, normalized size = 0.92 \begin {gather*} \frac {x^{3-n\,p\,q}\,{\left (a\,{\left (b\,x^n\right )}^p\right )}^q}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(2 - n*p*q)*(a*(b*x^n)^p)^q,x)

[Out]

(x^(3 - n*p*q)*(a*(b*x^n)^p)^q)/3

________________________________________________________________________________________